#include "Services_GB.h"

extern uint8 u8Comm_SCIRequest;
extern uint8 u8Comm_SCIPending;


interrupt void isrSCI (void)
{
    (void)u8SCI1_RxPending();
    u8Comm_SCIRequest = u8SCI1_ReadByte();
    if ((u8Comm_SCIRequest == COMM_SCI_RX_REQUEST) || (u8Comm_SCIRequest == COMM_SCI_TX_REQUEST))
    {
        vfnSCI1_DisableInterrupts();
        u8Comm_SCIPending = u8Comm_SCIRequest;
    }
}